stopsocks
Section: User Commands (1)
Updated: 27 Aug 1997
Index
Return to Main Contents
NAME
stopsocks - A script to manage standalone socks5 daemons
SYNOPSIS
stopsocks [-p port][signal] [[pid]]
DESCRIPTION
The stopsocks script restarts and terminates standalone socks5 daemons. stopsocks is most useful for stopping preforked daemons. Use the command
-
stopsocks -9
to terminate all running daemons.
When you omit arguments, stopsocks attempts to send an HUP signal to the currently running socks5 daemon. The socks5 daemon stores its PID in /tmp/socks5.pid. You can change the filename that socks5 uses to store its PID with the --with-srvpidfile=filename configure option or with the SOCKS5_PIDFILE environment variable.
- port
-
Identifies the port number of the socks5 daemon. When you include the -p flag as the first argument, stopsocks uses the next argument as the port number.
- signal
-
Specifies the signal to send to the process. Valid values are 1 and 9:
-
-
- 1 - the HUP signal, instructs stopsocks to re-read the configuration file.
-
- 9 - the kill signal, terminates the socks5 daemon.
You may optionally include PID with the signal argument. When you omit pid, stopsocks sends signal to the currently running socks5 daemon.
- pid
-
Specifies the process that receives signal
SEE ALSO
socks5(1)
AUTHOR
NWSL SOCKS5 Development Team
Send comments to socks5-comments@socks.nec.com
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- SEE ALSO
-
- AUTHOR
-
This document was created by
man2html,
using the manual pages.
Time: 01:40:28 GMT, April 19, 2022